import { request } from 'ice';

// 登录
export const getLogin = (params) => {
  return request.post('/admin/login', params);
};
// 用户菜单
export const getUserMenu = () => {
  return request.get('/admin/list-admin-user-menu');
};
// 用户组列表
export const getUserGroup = (params) => {
  return request.post('/user/list-user-group', params);
};
// 获取用户列表
export const getAdminList = (params: any = {}) => {
  return request.post('/user/list-user', params);
};
